package pkg;

public abstract class EntityFactory {
	
	@SuppressWarnings("unchecked")
	public final <T> T createEntity(String name)
	{
		return (T)getEntity(name.toLowerCase());
	}
	
	protected abstract Object getEntity(String name);
	


}
